class Config(object):
    PROJECT_NAME = 'donato'
    DATABASE_URI = 'mysql://donato:donato@TEST@127.0.0.1:3306/donato_test?charset=utf8'
    LOG_FILE = '/data/logs/donato/donato.log'
    BOT_LOG_FILE = '/data/logs/donato/donato_bot.log'
    PROFILE='default'

class DonatoConfig(Config):
    DATABASE_URI = 'mysql://donato:donato123@TEST@127.0.0.1:3306/donato_test?charset=utf8mb4'
    LOG_FILE = '/data/logs/donato/donato.log'
    BOT_LOG_FILE = '/data/logs/donato/donato_bot.log'
    UPLOAD_PATH = '/data/git_repo/Donato/upload/'
    REDIS_HOST = '120.26.111.135'
    REDIS_PORT = 58211
    REDIS_DB = 3
    REDIS_PASSWORD = 'holysheet'
    RESPONSE_DOMAIN = 'http://wedroid.zhongtouwan.com'
    PROFILE='test'

class DevConfig(Config):
    DATABASE_URI = 'mysql://donato:donato@127.0.0.1:3306/donato_test?charset=utf8mb4'
    LOG_FILE = '/data/logs/donato/donato.log'
    BOT_LOG_FILE = '/data/logs/donato/donato_bot.log'
    UPLOAD_PATH = '/Users/Misa/Project/upload/'
    REDIS_HOST = '127.0.0.1'
    REDIS_PORT = 6379
    REDIS_DB = 3
    REDIS_PASSWORD = ''
    RESPONSE_DOMAIN = 'http://wedroid.zhongtouwan.com'
    PROFILE='dev'

class TestConfig(Config):
    PROFILE='test'

class ProdConfig(Config):
    PROFILE='prod'
